<template>
  <div id="collectionCode">
    <c-title :hide="false" text="收款二维码"></c-title>
    <div class="imgbox">
      <img :src="imgSrc" alt="">
    </div>

    <van-button type="primary" round class="btn" @click="onResetCode">重新生成</van-button>
  </div>
</template>
<script>
import collectionCode_controller from "./collectionCode_controller";
export default collectionCode_controller;
</script>
<style lang="scss" rel="stylesheet/scss" scoped>
.imgbox {
  margin: 0 auto;

  img {
    width: 100%;
    height: auto;
  }
}
.btn{
  margin-top: 1rem;
  background: var(--themeBaseColor);
  border-color: var(--themeBaseColor);
}
</style>
